<?php include _include(APP_PATH.'view/htm/header.inc.htm');?>

<!--{hook forum_start.htm}-->
<!-- ONE开始 -->
<div class="row">
<?php if($huux_style_one['hso_col_index']==1 || $huux_style_one['hso_col_index']==2){?>
	<div class="<?php echo $col_side; ?> hidden-md-down" id="sidebar">
		<!--{hook forum_mod_before.htm}-->
		<!--{hook forum_mod_after.htm}-->
	</div>
<?php }?>
	<div class="<?php echo $col_main; ?>">
	    <!--{hook forum_breadcrumb_before.htm}-->
		<ol class="breadcrumb m-b-sm hidden-md-down">
			<li class="breadcrumb-item"><a href="./"><i class="icon-home" aria-hidden="true"></i> 首页</a></li>
			<li class="breadcrumb-item active"><a href="<?php echo url("forum-$fid");?>"><?php echo $forum['name'];?></a></li>
			<li class="pull-right"><a href="<?php echo url("thread-create-$fid");?>"><i class="icon-edit m-r-xs"></i>发新帖</a></li>
			<!--{hook forum_breadcrumb.htm}-->
		</ol>
		<!--{hook forum_breadcrumb_after.htm}-->
		<div class="card card-threadlist">
			<div class="card-header">
				<ul class="nav nav-tabs card-header-tabs pull-xs-left">
					<li class="nav-item">
								<a class="nav-link <?php echo $active == 'default' ? 'active' : '';?>" href="<?php echo url("forum-$fid");?>"><?php echo lang('new_thread');?></a>
							</li>
					<!--{hook forum_thread_list_nav_item_after.htm}-->
				</ul>
				<?php if(isset($huux_style_one['hso_forum1_pagination_header']) && $huux_style_one['hso_forum1_pagination_header']){?>
				<div class="card-pagination hidden-md-down"><ul class="pagination pagination-sm pull-xs-right"><?php echo $pagination; ?></ul></div>
				<?php }?>
			</div>
			<div class="card-block">
				<table class="table threadlist">
					<tbody>
						<!--{hook forum_threadlist_before.htm}-->
						<?php include _include(APP_PATH.'plugin/huux_style_one/view/htm/thread_list1.inc.htm');?>
						<!--{hook forum_threadlist_after.htm}-->
					</tbody>
				</table>
			</div>
			<div class="card-footer card-pagination">
			<?php include _include(APP_PATH.'view/htm/thread_list_mod.inc.htm');?>
			<nav class="text-center"><ul class="pagination pagination-sm"><?php echo $pagination; ?></ul></nav>
			</div>
		</div>
		<!--{hook index_page_before.htm}-->
		<!--{hook index_page_end.htm}-->
	</div>
<?php if($huux_style_one['hso_col_index']==3 || $huux_style_one['hso_col_index']==4){?>
	<div class="<?php echo $col_side; ?> hidden-md-down" id="sidebar">
		<!--{hook forum_mod_before.htm}-->
		<!--{hook forum_mod_after.htm}-->
	</div>
<?php }?>	
</div>
<!-- ONE 结束 -->













<!--{hook forum_end.htm}-->

<?php include _include(APP_PATH.'view/htm/footer.inc.htm');?>

<script>
$('#letnav a[fid="<?php echo $fid;?>"]').tab('show');
$('.mod-button').find('.btn').addClass('btn-sm');
</script>

<!--{hook forum_js.htm}-->